<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title> 测试 CSS class选择</title>
    <style>
        .text {
            text-indent: 100px;
            text-align: right;
            word-spacing: 20px;
            letter-spacing: 10px;
            text-transform: uppercase;
            text-decoration: underline;
        }

        .border {
            border-style: solid;
            border-width: 4px;
            border-color: red;
        }

        .border2 {
            border-left-style: solid;
            border-left-width: 4px;
            border-left-color: red;

            border-right-style: dotted;
            border-right-width: 4px;
            border-right-color: blue;

            border-bottom-style: groove;
            border-bottom-width: 10px;
            border-bottom-color: rgb(112, 82, 35);

            border-top-style: dashed;
            border-top-width: 6px;
            border-top-color: rgb(112, 82, 35);
        }
    </style>

</head>

<body>
    <div class="text">
        文本配置属性 Hello World
    </div>

    <p></p>

    <div class="border">设置元素的全部边框</div>

    <p></p>

    <div class="border2">设置元素的边框中的各个边</div>
</body>

</html>